package com.hxzy.controller.admin.product.req;

import com.hxzy.common.resp.DishFlavorItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author admin
 */
@Getter
@Setter
@ApiModel(value = "商品新增")
public class ProductEditReq  extends ProductAddReq{

    @NotNull(message = "主键不能为空")
    @ApiModelProperty(value = "主键")
    private Long id;
}
